package com.zq.it.dao.exam;

import java.util.List;

import com.zq.it.pojo.exam.TTask;

/**
 * TTaskDAO的接口类
 *
 * @author 王凡
 *
 * @version $ID:TTaskDAO.java 2013-3-21 王凡@$
 */

public interface TTaskDAO {

	public void save(TTask transientInstance);

	public void delete(TTask persistentInstance);

	public TTask findById(Long id);

	public List findByExample(TTask instance);

	public List findByProperty(String propertyName, Object value);

	public List findByTaskName(Object taskName);

	public List findByCaseType(Object caseType);

	public List findByTaskUserCount(Object taskUserCount);

	public List findByTaskMessage(Object taskMessage);

	public List findByExtendField(Object extendField);

	public List findAll();

	public void update(TTask instance);

	public List findByHql(String hql);

}